<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="/TP/Public/css/style.css" />
  <script type="text/javascript" src="/TP/Public/js/jquery-2.1.3.min.js"></script>
  <script type="text/javascript">
  // 定义一个变量，方便在下面的JS验证时的ajax的调用
    var url = '<?php echo U("Home/User/queryUserCon");?>';
    var urlEmail = '<?php echo U("Home/User/queryEmailCon");?>';
  </script>
    
<title>手机商城</title>
</head>
<body>  
<!--Begin Header Begin-->
<div class="soubg">
	<div class="sou">
        <span><a href="<?php echo U('home/index/index');?>">回到首页</a></span>
        <span class="fr">
        	<span class="fl">你好，请<a href="<?php echo U('Home/Login/index');?>">登录</a></span>
            <span class="fl">|&nbsp;关注我们：</span>
            <span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
            <span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="/TP/Public/images/s_tel.png" align="absmiddle" /></a></span>
        </span>
    </div>
</div>
<!--End Header End--> 
<!--Begin Login Begin-->
<!-- {echo /TP/Public} -->
<div class="log_bg">	
    <div class="top">
        <div class="logo"><a href="<?php echo U('home/index/index');?>"><img width="120" src="/TP/Public/images/logo.jpg" /></a></div>
    </div>
	<div class="regist">
    	<div class="log_img"><img src="/TP/Public/images/l_img.png" width="611" height="425" /></div>
		<div class="reg_c">
        	<form action="<?php echo U("Home/User/queryRegCon");?>" method="POST">
            <table border="0" style="width:420px; font-size:14px; margin-top:20px;" cellspacing="0" cellpadding="0">
              <tr height="50" valign="top">
              	<td width="95">&nbsp;</td>
                <td>
                	<span class="fl" style="font-size:24px;">注册</span>
                    <span class="fr">已有商城账号，<a href="<?php echo U('Home/Login/index');?>" style="color:#ff4e00;">我要登录</a></span>
                </td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;用户名 &nbsp;</td>
                <td width="100"><input type="text" value="" name="username" class="l_user" placeholder="2-10位的英文字母数字组成" /><span id="userId" style="font-size: 12px"></span></td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;密码 &nbsp;</td>
                <td><input type="password" name="pass" value="" class="l_pwd" id="l_pwd1" placeholder="6-20个字母数字的组合密码"/><span id="pwd1" style="font-size: 12px"></span></td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;确认密码 &nbsp;</td>
                <td><input name="repass" type="password" value="" class="l_pwd" id="l_pwd2" placeholder="请再次输入密码"/><span id="pwd2" style="font-size: 12px"></span></td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;邮箱 &nbsp;</td>
                <td><input name="email" type="text" value="" class="l_email" placeholder="请输入常用邮箱"/><span id="emailId" style="font-size: 12px"></span></td>
              </tr>
              <tr height="50">
                <td align="right"> <font color="#ff4e00">*</font>&nbsp;验证码 &nbsp;<span id="code" style="font-size: 12px"></span></td>
                <td>
                    <input type="text" value="" class="l_ipt" maxlength="4" name="code" />
                    <img src="<?php echo U('Home/User/verify_code');?>" alt="" />
                </td>
              </tr>
              <tr>
              	<td>&nbsp;</td>
                <td style="font-size:12px; padding-top:20px;">
                	<span style="font-family:'宋体';" class="fl">
                    	<label class="r_rad"><input type="checkbox" checked="true" id="input" /></label><label class="r_txt">我已阅读并接受《用户协议》</label>
                    </span>
                </td>
              </tr>
              <tr height="60">
              	<td>&nbsp;</td>
                <td><input id="sub" type="submit" value="立即注册" class="log_btn"  style="background: red" /></td>
              </tr>
            </table>
            </form>
        </div>
    </div>
</div>
<litera>
  <script type="text/javascript" src="/TP/Public/js/ajaxReg.js"></script>
<script>
  // 验证码点击更新
  var code_img = $('.l_ipt').next('img');
  var verifyimg = code_img.attr("src");
  code_img.attr('title', '点击刷新'); 
  code_img.click(function(){  
  if( verifyimg.indexOf('?')>0){  
      $(this).attr("src", verifyimg+'&random='+Math.random());  
  }else{  
      $(this).attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());  
  }  
});  
</script>
</litera>
<!--End Login End--> 
<!--Begin Footer Begin-->
<div class="btmbg">
    <div class="btm">
        备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
        <img src="/TP/Public/images/b_1.gif" width="98" height="33" /><img src="/TP/Public/images/b_2.gif" width="98" height="33" /><img src="/TP/Public/images/b_3.gif" width="98" height="33" /><img src="/TP/Public/images/b_4.gif" width="98" height="33" /><img src="/TP/Public/images/b_5.gif" width="98" height="33" /><img src="/TP/Public/images/b_6.gif" width="98" height="33" />
    </div>    	
</div>
<!--End Footer End -->    

</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>